# from django import forms
# from file_manage import models
# class app_relative(forms.Form):
#     app_database_list=models.App.objects.all()
#     # app_choice=[tmp for tmp in app_database_list]
#     app_choice={}
#     #动态生成选项
#     for tmp in app_database_list:
#         app_choice.update({tmp.name:tmp.app_path})
#     search_app = forms.ChoiceField(choices=app_choice,
#                                  widget=forms.Select(attrs={'onchange': "change_country(this.value)",
#                                                             'class': "frm-field required",
#                                                             'id': 'country'
#                                                             }))